home *** CD-ROM | disk | FTP | other *** search
- Path: news.orl.mmc.com!usenet
- From: Ted Dennison <dennison@escmail.orl.mmc.com>
- Newsgroups: comp.lang.ada,comp.lang.c++
- Subject: Re: some questions re. Ada/GNAT from a C++/GCC user
- Date: Sat, 30 Mar 1996 14:49:00 -0500
- Organization: Lockheed Martin Marine Systems
- Message-ID: <315D902C.6F7B@escmail.orl.mmc.com>
- References: <wnewmanDoxrCp.DKv@netcom.com> <4je9ju$174r@watnews1.watson.ibm.com> <ROGOFF.96Mar28134118@sccm.Stanford.EDU> <4jhe1v$m0g@dayuc.dayton.saic.com> <315CDCF9.31AF@mcs.com>
- NNTP-Posting-Host: bubba_4.orl.mmc.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (X11; I; HP-UX A.09.01 9000/750)
-
- Mike Young wrote:
- >
- > Hmmmm. Lacking a language based synch method doesn't mean we always go
- > straight to the semaphore library. I commonly use thin wrappers to guard
- > precious resources -- for example: mutexes, semaphores, files,
- > or database sessions. Local scoping allows precise control of lifetimes,
- > and ensure release even when exceptions are possible:
-
- OK. Now what do you do if you have to port that code to DOS? :-)
-
- --
- T.E.D.
- | Work - mailto:dennison@escmail.orl.mmc.com |
- | Home - mailto:dennison@iag.net |
- | URL - http://www.iag.net/~dennison |
-